YooKassa\Model\ReceiptItem B

Total Complexity 92
Dependencies 10
Dependents 3
Total lines 608
Lines of code 284
Logical lines of code 129
Comment lines 221
Methods 32
Properties 13

Methods 32

Method Rating Maintainability Complexity Lines of code
setProductCode()
S
53 7 22
fetchItem()
S
54 6 20
setCountryOfOriginCode()
S
55 6 19
setVatCode()
S
58 6 15
setAgentType()
S
56 5 20
setDescription()
S
56 5 19
setSupplier()
S
58 5 16
setExcise()
S
58 5 15
setCustomsDeclarationNumber()
S
58 5 15
setQuantity()
S
58 5 15
setIsShipping()
S
61 5 12
setPaymentMode()
S
62 4 11
fromArray()
S
62 4 11
setPaymentSubject()
S
64 4 9
setPrice()
S
63 3 11
getAgentType()
S
82 1 3
isShipping()
S
82 1 3
applyDiscountCoefficient()
S
81 1 3
increasePrice()
S
81 1 3
getSupplier()
S
82 1 3
getDescription()
S
82 1 3
getExcise()
S
82 1 3
getCustomsDeclarationNumber()
S
82 1 3
getCountryOfOriginCode()
S
82 1 3
getProductCode()
S
82 1 3
getPaymentMode()
S
82 1 3
getPaymentSubject()
S
82 1 3
getVatCode()
S
82 1 3
getPrice()
S
82 1 3
getAmount()
S
79 1 3
getQuantity()
S
82 1 3
jsonSerialize()
S
70 1 6